package com.xinou.daily_report.VO;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @创建人 wdl
 * @创建时间 2021/6/11
 * @描述
 */
@Data
public class WeekResultVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "承诺内容")
    private String promise;

    @ApiModelProperty(value = "完成情况")
    private String complete;

    @ApiModelProperty(value = "改进措施")
    private String improve;

    @ApiModelProperty(value = "0表示计划内，1表示计划外")
    private Integer resultType;


    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "用户姓名")
    private String userName;


    @ApiModelProperty(value = "周id")
    private Long weekId;

    @ApiModelProperty(value = "最后一次插入的时间")
//    @JsonFormat(timezone = "GMT+8", shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime insertTime;


    @ApiModelProperty(value = "能否添加")
    private Boolean addtable;

    @ApiModelProperty(value = "能否编辑")
    private Boolean editable;

    @ApiModelProperty(value = "描述")
    private String describe;

    @ApiModelProperty(value = "开始时间")
    @JsonFormat(timezone = "GMT+8", shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime beginTime;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(timezone = "GMT+8", shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;


    @ApiModelProperty(value = "最后一次插入的时间")
    @JsonFormat(timezone = "GMT+8", shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime thisTime;









}
